package com.mandala.entry;

import java.util.List;

import javax.naming.Name;

import org.springframework.ldap.odm.annotations.Attribute;
import org.springframework.ldap.odm.annotations.Entry;
import org.springframework.ldap.odm.annotations.Id;

import com.fasterxml.jackson.annotation.JsonIgnore;

@Entry(objectClasses = {"groupOfNames","top"},base = "ou=group")
public class Group {
	 @Id
	 @JsonIgnore
	 private Name dn;
	 
	 @Attribute(name="code")
	 private String code;
	 
	 @Attribute(name="resourceName")
	 private String resourceName;
	 
	 @Attribute(name="order")
	 private String order;
	 
	 @Attribute(name="status")
	 private String status;
	 
	 @Attribute(name="member")
	 private List<String> member;
	 
	 @Attribute(name="isDelete")
	 private String isDelete;
	 
	 @Attribute(name="cn")
	 private String cn;
	 
	 @Attribute(name="description")
	 private String description;

	public Name getDn() {
		return dn;
	}

	public void setDn(Name dn) {
		this.dn = dn;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getResourceName() {
		return resourceName;
	}

	public void setResourceName(String resourceName) {
		this.resourceName = resourceName;
	}

	public String getOrder() {
		return order;
	}

	public void setOrder(String order) {
		this.order = order;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	

	public List<String> getMember() {
		return member;
	}

	public void setMember(List<String> member) {
		this.member = member;
	}

	public String getIsDelete() {
		return isDelete;
	}

	public void setIsDelete(String isDelete) {
		this.isDelete = isDelete;
	}

	public String getCn() {
		return cn;
	}

	public void setCn(String cn) {
		this.cn = cn;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}
	 
	 
	 
	
}
